package models

import "time"

type Orders struct {
	OrderId         string `pk:"ai"`
	OrderUserId     int
	OrderStoreId    int
	OrderUserPhone  string `form:"userphone"`
	OrderAddress    string `form:"address"`
	OrderProvince   string `form:"province"`
	OrderCity       string `form:"city"`
	OrderArea       string `form:"area"`
	OrderStatus     string
	OrderCreateTime time.Time
	OrderEndTime    time.Time
	OrderUserName   string      `form:"username"`
	OrderItems      []OrderItem `ignore:"true"`
	OrderSumPrices  float64     `ignore:"true"`
}
